function change(myid,mode){
    document.getElementById(myid).style.display=mode;
    if(mode=='block')
    {
        //document.getElementById(myid).style.border="1px solid #eee";
        document.getElementById(myid).style.borderTop="none";
        document.getElementById(myid).parentNode.style.backgroundColor="#fff";
        document.getElementById(myid).parentNode.style.border="1px solid #eee";
        document.getElementById(myid).parentNode.style.borderBottom="none";
        
    }
    else if(mode=='none')
    {
        document.getElementById(myid).parentNode.style.backgroundColor="";
        document.getElementById(myid).parentNode.style.border="";
    }
}

function checksearchForm(){
	if(searchForm.searchNew.value=="")
	{
		alert("搜索为空是不行的，亲亲");
		return false;
	}
}
